import json


def read_file(file_path):
    with open(file_path, 'r', encoding='utf-8') as f:
        data = json.load(f)
        return data


def build_file(file_path):
    with open(file_path, 'r', encoding='utf-8') as f:
        data = json.load(f)
        new_list = []
        for i in data:
            new_list.append(tuple(i.values()))
        return new_list


if __name__ == '__main__':
    result = build_file('../data/add_emp_data.json')
    print(result)
